﻿namespace WMS6.Web.BaseInfoDetailServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="UdfReportSettingDetailQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class UdfReportSettingDetailQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private DateTime CreatedDateField;
        [OptionalField]
        private string CtrlIDField;
        [OptionalField]
        private string CtrlLableField;
        [OptionalField]
        private string CtrlTypeField;
        [OptionalField]
        private string DefaultValueField;
        [OptionalField]
        private string IsMustInputField;
        [OptionalField]
        private int LineIDField;
        [OptionalField]
        private string ParamNameField;
        [OptionalField]
        private string ReportIDField;
        [OptionalField]
        private int RowIDField;
        [OptionalField]
        private string Udf1Field;
        [OptionalField]
        private string Udf2Field;
        [OptionalField]
        private string Udf3Field;
        [OptionalField]
        private string Udf4Field;
        [OptionalField]
        private string Udf5Field;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private DateTime UpdatedDateField;
        [OptionalField]
        private string WHIDField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public DateTime CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!this.CreatedDateField.Equals(value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string CtrlID
        {
            get
            {
                return this.CtrlIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CtrlIDField, value))
                {
                    this.CtrlIDField = value;
                    base.RaisePropertyChanged("CtrlID");
                }
            }
        }

        [DataMember]
        public string CtrlLable
        {
            get
            {
                return this.CtrlLableField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CtrlLableField, value))
                {
                    this.CtrlLableField = value;
                    base.RaisePropertyChanged("CtrlLable");
                }
            }
        }

        [DataMember]
        public string CtrlType
        {
            get
            {
                return this.CtrlTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CtrlTypeField, value))
                {
                    this.CtrlTypeField = value;
                    base.RaisePropertyChanged("CtrlType");
                }
            }
        }

        [DataMember]
        public string DefaultValue
        {
            get
            {
                return this.DefaultValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DefaultValueField, value))
                {
                    this.DefaultValueField = value;
                    base.RaisePropertyChanged("DefaultValue");
                }
            }
        }

        [DataMember]
        public string IsMustInput
        {
            get
            {
                return this.IsMustInputField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsMustInputField, value))
                {
                    this.IsMustInputField = value;
                    base.RaisePropertyChanged("IsMustInput");
                }
            }
        }

        [DataMember]
        public int LineID
        {
            get
            {
                return this.LineIDField;
            }
            set
            {
                if (!this.LineIDField.Equals(value))
                {
                    this.LineIDField = value;
                    base.RaisePropertyChanged("LineID");
                }
            }
        }

        [DataMember]
        public string ParamName
        {
            get
            {
                return this.ParamNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ParamNameField, value))
                {
                    this.ParamNameField = value;
                    base.RaisePropertyChanged("ParamName");
                }
            }
        }

        [DataMember]
        public string ReportID
        {
            get
            {
                return this.ReportIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReportIDField, value))
                {
                    this.ReportIDField = value;
                    base.RaisePropertyChanged("ReportID");
                }
            }
        }

        [DataMember]
        public int RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!this.RowIDField.Equals(value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string Udf1
        {
            get
            {
                return this.Udf1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf1Field, value))
                {
                    this.Udf1Field = value;
                    base.RaisePropertyChanged("Udf1");
                }
            }
        }

        [DataMember]
        public string Udf2
        {
            get
            {
                return this.Udf2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf2Field, value))
                {
                    this.Udf2Field = value;
                    base.RaisePropertyChanged("Udf2");
                }
            }
        }

        [DataMember]
        public string Udf3
        {
            get
            {
                return this.Udf3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf3Field, value))
                {
                    this.Udf3Field = value;
                    base.RaisePropertyChanged("Udf3");
                }
            }
        }

        [DataMember]
        public string Udf4
        {
            get
            {
                return this.Udf4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf4Field, value))
                {
                    this.Udf4Field = value;
                    base.RaisePropertyChanged("Udf4");
                }
            }
        }

        [DataMember]
        public string Udf5
        {
            get
            {
                return this.Udf5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf5Field, value))
                {
                    this.Udf5Field = value;
                    base.RaisePropertyChanged("Udf5");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public DateTime UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!this.UpdatedDateField.Equals(value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WHID
        {
            get
            {
                return this.WHIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WHIDField, value))
                {
                    this.WHIDField = value;
                    base.RaisePropertyChanged("WHID");
                }
            }
        }
    }
}

